package com.manger.common.office.sax.utils;

import com.manger.common.annotation.excel.Excel;

import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

public class UserTargetModel<T,R> {

    private Excel excel;

    private Field field;

    private Function<T,R> function;

    private String cellReference;

    private Map<String, String> dicMap = new HashMap<>();

    private List<String> dropDownList = new ArrayList<>();

    public Excel getExcel() {
        return excel;
    }

    public void setExcel(Excel excel) {
        this.excel = excel;
    }

    public Field getField() {
        return field;
    }

    public void setField(Field field) {
        this.field = field;
    }

    public String getCellReference() {
        return cellReference;
    }

    public void setCellReference(String cellReference) {
        this.cellReference = cellReference;
    }

    public Map<String, String> getDicMap() {
        return dicMap;
    }

    public void setDicMap(Map<String, String> dicMap) {
        this.dicMap = dicMap;
    }

    public List<String> getDropDownList() {
        return dropDownList;
    }

    public void setDropDownList(List<String> dropDownList) {
        this.dropDownList = dropDownList;
    }

    public Function<T, R> getFunction() {
        return function;
    }

    public void setFunction(Function<T, R> function) {
        this.function = function;
    }
}
